#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_ItemData.nanopb.h"
#ifndef MAX_ITEMDATA_ITEMDATA_NUM
#define MAX_ITEMDATA_ITEMDATA_NUM 13300
#endif

class ItemDesc : public NFI_DESC_TEMPLATE_MACRO(ItemDesc, E_Item, EOT_CONST_ITEMDATA_ITEMDATA_DESC_ID, MAX_ITEMDATA_ITEMDATA_NUM)
public:
	ItemDesc();
	virtual ~ItemDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
